package com.fortune.vo.cOrderMgt;

import com.fortune.constants.enums.OrderDetailType;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * TODO c_order_base_info
 * @author ran
 *
 */
public class COrderDetailsProduce {
    @ApiModelProperty(example="序号")
    private int produceNo;
    @ApiModelProperty(example="分类(XS销售,ZS赠送)")
    private OrderDetailType type;
    @ApiModelProperty(example="商品条码")
    private String number;
    @ApiModelProperty(example="商品")
    private String produceName;
    @ApiModelProperty(example="厂商")
    private String companyName;
    @ApiModelProperty(example="单价")
    private BigDecimal unitPrice;
    @ApiModelProperty(example="订货数量")
    private int orderNum;
    @ApiModelProperty(example="商品小计")
    private BigDecimal tprice;
    @ApiModelProperty(example="押金金额")
    private BigDecimal dprice;
    @ApiModelProperty(example="回空箱数量")
    private int backBoxNum;
    @ApiModelProperty(example="备注")
    private String memo;

    public int getProduceNo() {
        return produceNo;
    }

    public void setProduceNo(int produceNo) {
        this.produceNo = produceNo;
    }

    public OrderDetailType getType() {
        return type;
    }

    public void setType(OrderDetailType type) {
        this.type = type;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getProduceName() {
        return produceName;
    }

    public void setProduceName(String produceName) {
        this.produceName = produceName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    public BigDecimal getTprice() {
        return tprice;
    }

    public void setTprice(BigDecimal tprice) {
        this.tprice = tprice;
    }

    public BigDecimal getDprice() {
        return dprice;
    }

    public void setDprice(BigDecimal dprice) {
        this.dprice = dprice;
    }

    public int getBackBoxNum() {
        return backBoxNum;
    }

    public void setBackBoxNum(int backBoxNum) {
        this.backBoxNum = backBoxNum;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    @Override
    public String toString() {
        return "COrderDetailsProduce{" +
                "produceNo=" + produceNo +
                ", type=" + type +
                ", number='" + number + '\'' +
                ", produceName='" + produceName + '\'' +
                ", companyName='" + companyName + '\'' +
                ", unitPrice=" + unitPrice +
                ", orderNum=" + orderNum +
                ", tprice=" + tprice +
                ", dprice=" + dprice +
                ", backBoxNum=" + backBoxNum +
                ", memo='" + memo + '\'' +
                '}';
    }
}
